package com.zyp.weibo.mapper;

import com.zyp.weibo.pojo.entity.Comment;
import com.zyp.weibo.pojo.vo.CommentVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {
    int insert(Comment comment);
    List<CommentVo> selectByWeiboId(int id);

    void deleteByWeiboId(int id);
}
